package com.zl.service;

import com.zl.User;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Service;

@Service
public class UserService {

        public User user(String name){
        User user=new User();
        user.setName(name);
        user.setAge(18);
        return user;
    }
}




